package vip.xiaonuo.modular.enums;

import lombok.Getter;

/**
 * @Description 时间级别
 * @Author cy
 * @Date 2022/8/5 9:36
 * @Version 1.0
 */
@Getter
public enum TimeLevelEnum {
    YEAR("year", "年份"),
    MONTH("month", "月"),
    DAY("day", "日"),
    SEASON("season", "季"),
    WEEK("week", "星期"),
    ;

    private final String code;

    private final String message;

    TimeLevelEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }
}
